package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface CustomerService {

    int insert(Customer customer, Return<Customer> ret);

    Customer queryByOpenid(String openid);

    int setPhoneVerify(Customer customer);

    List<Customer> query(Customer customer);

    List<Customer> queryVip();

    List<Customer> queryRegisterCustomer();

    Wallet queryWallet(String customerId);

    Customer queryById(String customerId);

    int upLevel(UpLevelParams upLevelParams);

    void export(Customer customer, HttpServletResponse response);
}
